home *** CD-ROM | disk | FTP | other *** search
- Copyright 1995, Richard Hansen
-
- 9/16/95
-
- This is a beta version of nine Delphi components. This beta version is free
- and may be redistributed. If you distribute these components, you must include
- all files in this archive. You may not distribute or sell these components for
- profit, except as part of a larger compilation of "shareware" Delphi
- components, tools, examples, or source code.
-
- You are free to use these controls in any manner you see fit. THIS SOFTWARE
- IS NOT WARRANTIED IN ANY MANNER WHATSOEVER. YOU ASSUME ANY RISK THAT MAY BE
- INVOLVED IN USING ANY PART OF THIS SOFTWARE.
-
- This package will be sold as shareware in the near future. The registration
- fee will be in the $25.00 to $35.00 range. Full source code will be available
- for an additional small charge. There are nine components included in this
- archive : TFramedLabel, TLabel3D, TGraphicButton, TButton3D, TColoredButton,
- TCheckListBox, TTabComboBox, TTabListBox and TTabListHeader. The final version
- will include several more components.
-
- In this beta version, the components are not documented heavily.
- Experimentation, is the best way to find out what they can do. In general
- these components add no new events, and behave in the same manner, as the
- standard controls they descend from. The entire interface to these components
- can be understood by examining their properties.
-
- To install the components, add the unit CNTRLREG.PAS to your Delphi component
- palette. CNTRLREG.PAS contains a Register routine taht will install all
- components. If you desire, you may also install each component units
- individually. Each unit has an appropriate Register routine and the necessary
- individual DCR files are included in this archive.
-
- Please contact me to report any bugs or problems you might find and to suggest
- any enhancements. The first person to report any particular bug, will get a
- free registered copy of the final version. You can contact me on CompuServe
- at 70242,3367.
-
- TFramedLabel is a TLabel component with a frame drawn around it.
-
- property FrameColor - Color of the frame.
- property TextOffset - Offset from the top of the frame to the text.
- property ShowFrame - Toggles display of the frame.
-
- TLabel3D is a label that can be displayed with a raised, lower or shadowed
- 3D effect.
-
- property TextStyle - 3D style of None, Raised, Lowered or Shadowed.
- property ShadowOffset - Offset of the shadow for the shadowed style.
- property ColorShadow - Color of the shadow for all styles.
- property ColorHighlight - Color of the highlight for raised and lowered
- sytles only.
-
- TGraphicButton is the base class for TColoredButton and TButton3D. You may
- also use TGraphicButton to display any sort of graphical face. As implemented
- TGraphicButton displays nothing, not even a caption; however, It will call an
- event handler that you assign whenever the button face needs to be repainted.
-
- property Style - The same as TBitBtn, New, AutoDetect, or Win31.
- property OnDrawFace - Event you assign to be called for drawing the button
- face.
-
- TColoredButton is a button that supports multi-line captions and user defined
- colors.
-
- property ColorBtnFace - Color of the button face.
- property ColorBtnShadow - Color of the shadowed portions of the bevel.
- property ColorBtnHiLight - Color of the highlighted portions of the bevel.
- property BoldFocus - Toggles bolding (New stle only) of caption font on
- focus.
- property Alignment - Centers, left or right justifies the caption text.
-
- TButton3D is a button with a 3D caption. TButton3D descends from TColoredButton
- so it also supports all the features of a TColoredButton including multi-line
- captions and color.
-
- property TextStyle - 3D style of None, Raised, Lowered or Shadowed.
- property ShadowOffset - Offset of the shadow for shadowed style.
- property ColorShadow - Color of the shadow for all styles.
- property ColorHighlight - Color of the highlight for raised and lowered
- sytles only.
-
- TCheckListBox is a multi-select list box that draws check boxes to indicate
- the selected state of an item. You may supply you own pictures. The bottom
- left pixel in the bitmap is the transparent color used when the bitmap is
- displayed.
-
- property GlyphChecked - The picture displayed for selected items.
- property GlyphUnchecked - The picture displayed for unselected items.
- property GlyphLeftMargin - Margin between glyph and left edge of list box.
- property GlyphTopMargin - Margin between glyph and top of item draw area
- rectangle.
- property TextLeftMargin - Left margin between glyph and item text.
- property ShowFocusColor - Toggles display of focus color. It is strongly
- recommended that you leave this set to False.
-
- TTabComboBox is a combo box that supports display of column aligned text data.
- You just put a tab between column text before adding it to the combo box. You
- can even enter the tabs in the Items property editor by pressing Control-Tab.
-
- property Column - The current column, Note that column numbers are zero
- based. Column may be 0 to the total number of columns
- minus one. You only set the width for the first n - 1
- columns. The first column is zero.
- property Columns - Number of columns you want.
- property ColWidth - Sets the width of the current column displayed in the
- Column property.
- property ColWidthCalc - Method of calculating column witdhs. Column widths
- may be calculated in Pixels, Average Character Width,
- or Maximum Character Width.
-
- TTabListBox is a list box that supports display of column aligned text data.
- You just put a tab between column text before adding it to the list box. You
- can even enter the tabs in the Items property editor by pressing Control-Tab.
- Text will display at design time aligned with the current column settings. You
- may attach a TTabListBox to a TTabListHeader. The TTabListHeader can be used
- to move and align the list box columns at design and run time.
-
- property Column - The current column, Note that column numbers are zero
- based. Column may be 0 to the total number of columns
- minus one. You only set the width for the first n - 1
- columns. The first column is zero.
- property Columns - Number of columns you want.
- property ColWidth - Sets the width of the current column displayed in the
- Column property.
- property ColWidthCalc - Method of calculating column witdhs. Column widths
- may be calculated in Pixels, Average Character Width,
- or Maximum Character Width.
-
- TTabListHeader is a TListHeader that supports user defined colors and can be
- linked to a TTabListBox for adjusting the list box columns. Use the right
- mouse button to move header sections an design time. Use the left mouse button
- to move header sections an run time.
-
- property Color - Color of the face of the header.
- property ListBox - The TTabListBox this header is linked to.
-
-